*{ padding:0; padding:0;}
li {list-style: none;}
a {text-decoration: none;color: #333333;}
.px2rem(@name, @px){
    @{name}: @px / 75 * 1rem;
}

//定位
.top (@top){.px2rem(top, @top);}
.left (@left){.px2rem(left, @left);}
.right (@right){.px2rem(right, @right);}
.bottom (@bottom){.px2rem(bottom, @bottom);}

.border-radius(@arg){.px2rem(border-radius, @arg);}
.border-radius(@arg){.px2rem(border-top-left-radius, @arg);}
.border-radius(@arg){.px2rem(border-bottom-left-radius, @arg);}

.webkit{
    display: flex;
    display: -webkit-flex;
}
.line-height(@arg){.px2rem(line-height, @arg);}
.font-size(@arg){.px2rem(font-size, @arg);}

.font(@fz,@color){
    .px2rem(font-size,@fz);
    color: @color;
}
.border-bottom(@px,@xian,@color){
    .px2rem(border-bottom-width,@px);
    border-bottom-style: @xian;
    border-bottom-color: @color;
}
.border-top(@px,@xian,@color){
    .px2rem(border-top-width,@px);
    border-top-style: @xian;
    border-top-color: @color;
}
.border-right(@px,@xian,@color){
    .px2rem(border-right-width,@px);
    border-right-style: @xian;
    border-right-color: @color;
}
.border-left(@px,@xian,@color){
    .px2rem(border-left-width,@px);
    border-left-style: @xian;
    border-left-color: @color;
}
.border(@px,@xian,@color){.px2rem(border-width,@px);border-style: @xian; border-color: @color;}

.padding-top(@top){.px2rem(padding-top, @top);}
.padding-right(@right){.px2rem(padding-right, @right);}
.padding-bottom(@bottom){.px2rem(padding-bottom, @bottom);}
.padding-left(@left){.px2rem(padding-left, @left);}

.padding(@top,@right,@bottom,@left){
   .px2rem(padding-top,@top);
   .px2rem(padding-right,@right);
   .px2rem(padding-bottom,@bottom);
   .px2rem(padding-left,@left);
}

.margin-top(@top){.px2rem(margin-top, @top);}
.margin-right(@right){.px2rem(margin-right, @right);}
.margin-bottom(@bottom){.px2rem(margin-bottom, @bottom);}
.margin-left(@left){.px2rem(margin-left, @left);}

.margin(@top,@right,@bottom,@left){
   .px2rem(margin-top,@top);
   .px2rem(margin-right,@right);
   .px2rem(margin-bottom,@bottom);
   .px2rem(margin-left,@left);
}  
#box{
    height:100%;
    background: #f8f8f8;    
    .padding-top(140);
    header {
        .webkit();
        .px2rem(height,96);
        .font(28,#d93a55);
        background: #ffffff;       
        .line-height(96); 
        position:fixed;
        top: 0;  
        width:100%; 
        border-bottom: 1px solid #ccc;
        .two {
            flex: 1;
            text-align: center;
        }
        .one {
            .margin-left (25);
        }      
    }
    main {        
        .px2rem(height,354);
        background: #fff;
        .one,.two {
                .margin-bottom (43);            
            }        
        div{           
            .webkit();
            text-items:center;
            justify-content:center;
            .px2rem(height,87);                               
            p{
                .webkit();               
                align-items: center;                
                .px2rem(height,87);
                .px2rem(width,610);                           
                border-radius: 10px;
                border: 1px solid #ccc;
                input {
                    border:none;               
                }
                img {
                    .px2rem(height,36);
                    .px2rem(width,26);
                    .margin-left(25);
                    .margin-right(29);
                }
                span {        
                    color:#e67c8e;
                    .margin-left(45);

                }
            }
        }    
    }
    section {  
        .webkit();
        justify-content: center;
        align-items: center;
        text-align: center;
        flex:1;   
       button {
            .px2rem(height,76);
            .px2rem(width,610);
            background-color: #f61d4b;
            .font(26,#fff);
            .border-radius(15); 
            .margin-top(50);
       }
    }
    article {
            .margin-left(56);
            .margin-top(26);
            .font(23,#778592);



    }
}


